package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterInvitationRecordDao;
import com.vf.admin.miaodong.entity.AppInvitationRecord;
import com.vf.admin.miaodong.service.AfterInvitationRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
/**
 * 邀请
 */
@Service
public class AfterInvitationRecordServiceImpl implements AfterInvitationRecordService {
    @Autowired
    private AfterInvitationRecordDao afterInvitationRecordDao;

    /**
     * 综合查询列表
     * @param paraMap
     * @param splitPage
     * @return
     */
    @Override
    public List<AppInvitationRecord> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterInvitationRecordDao.findList(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppInvitationRecord get(Integer id){
        return afterInvitationRecordDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppInvitationRecord haoYou){
        afterInvitationRecordDao.save(haoYou);
    }

}
